<template>
	<div class="contents">
		<div class="content">
			<van-row type="flex" justify="center" class="boot-mt">
				<van-col span="12">
					<div class="bootimg">
						<img src="../assets/img/logo.png" alt="">
					</div>
					<p class="boot-title">优乐,独自分享不如一起分享。</p>
					<router-link to="/login" tag="div">
						<van-button type="primary" block class="loginbtn">登录</van-button>
					</router-link>
					<router-link to="/register" tag="div">
						<van-button type="primary" block class="registerbtn">注册</van-button>
					</router-link>
				</van-col>
			</van-row>
			<van-row class="otherlogin" type="flex" justify="center">
				<van-col span="6">
					<div class="weixin"></div>
				</van-col>
				<van-col span="6">
					<div class="qq"></div>
				</van-col>
				<van-col span="6">
					<div class="weibo"></div>
				</van-col>
			</van-row>
		</div>
	</div>
</template>

<script>
import Vue from 'vue'
import { Row, Col, Cell, CellGroup, Button } from 'vant'
Vue.use(Row).use(Col).use(Cell).use(CellGroup).use(Button)
export default {
	data() {
		return {}
    }
}
</script>

<style lang="scss" scoped="scoped">
@import '@/lib/reset.scss';
.content {
	background: #f9f9f9;
}
.boot-mt {
	margin-top: .9rem;
}
.bootimg {
	@include rect(1rem, 1rem);
	// background: #fff;
	margin: 0 auto;
	@include border-radius(50%);
	img {
		@include rect(1rem, 1rem);
		@include border-radius(50%);
	}
}
.boot-title {
	width: 100%;
	text-align: center;
	margin-top: .3rem;
}
.loginbtn {
	margin-top: .66rem;
	background: #fff;
	border: 1px solid #696f80!important;
}
.registerbtn {
	margin-top: .15rem;
	background: #fff;
	border: 1px solid #696f80!important;
}
.otherlogin {
	margin-top: .8rem;
}
.weixin, .qq, .weibo {
	@include rect(.5rem, .5rem);
	margin: 0 auto;
}
.weixin {
	background: url(../assets/img/weixin.png) no-repeat;
	background-size: cover;
}
.qq {
	background: url(../assets/img/qq.png) no-repeat;
	background-size: cover;
}
.weibo {
	background: url(../assets/img/weibo.png) no-repeat;
	background-size: cover;
}
</style>
